class AccountData {
  int? userId;
  String? nickName;
  String? sex;
  String? age;
  int? isBlack;
  String? birthday;
  String? headUrl;
  String? duceUrl;
  String? phone;
  String? areaCode;
  String? state;
  String? signature;
  String? tags;
  String? height;
  String? weight;
  String? occupation;
  String? occupationAuthState;
  String? occupationAuthJson;
  String? goldCount;
  String? disturbSeting;
  String? videoCallSeting;
  String? videoCallPrice;
  String? voiceCallSeting;
  String? voiceCallPrice;
  String? soundSeting;
  String? joltSeting;
  String? cardAuthTime;
  String? cardAuthState;
  String? authorityAuthTime;
  String? authorityAuthState;
  List<PhotoList>? photoList;
  int? fansCount;
  int? followCount;
  int? dynamicCount;
  String? userName;
  String? idCardNumber;
  String? aliPay;
  String? weixinPay;
  String? userSig;
  String? onLineState;
  String? lastOnlineTime;
  String? jewelCount;
  String? glamour;
  String? venue;

  AccountData(
      {this.userId,
      this.nickName,
      this.sex,
      this.age,
      this.isBlack,
      this.birthday,
      this.headUrl,
      this.duceUrl,
      this.phone,
      this.areaCode,
      this.state,
      this.signature,
      this.tags,
      this.height,
      this.weight,
      this.occupation,
      this.occupationAuthState,
      this.occupationAuthJson,
      this.goldCount,
      this.disturbSeting,
      this.videoCallSeting,
      this.videoCallPrice,
      this.voiceCallSeting,
      this.voiceCallPrice,
      this.soundSeting,
      this.joltSeting,
      this.cardAuthTime,
      this.cardAuthState,
      this.authorityAuthTime,
      this.authorityAuthState,
      this.photoList,
      this.fansCount,
      this.followCount,
      this.dynamicCount,
      this.userName,
      this.idCardNumber,
      this.aliPay,
      this.weixinPay,
      this.userSig,
      this.onLineState,
      this.lastOnlineTime,
      this.jewelCount,
      this.glamour,
      this.venue});

  AccountData.fromJson(Map<dynamic, dynamic> json) {
    userId = json['userId'];
    nickName = json['nickName'];
    sex = json['sex'];
    age = json['age'];
    isBlack = json['isBlack'];
    birthday = json['birthday'];
    headUrl = json['headUrl'];
    duceUrl = json['duceUrl'];
    phone = json['phone'];
    areaCode = json['areaCode'];
    state = json['state'];
    signature = json['signature'];
    tags = json['tags'];
    height = json['height'];
    weight = json['weight'];
    occupation = json['occupation'];
    occupationAuthState = json['occupationAuthState'];
    occupationAuthJson = json['occupationAuthJson'];
    goldCount = json['goldCount'];
    disturbSeting = json['disturbSeting'];
    videoCallSeting = json['videoCallSeting'];
    videoCallPrice = json['videoCallPrice'];
    voiceCallSeting = json['voiceCallSeting'];
    voiceCallPrice = json['voiceCallPrice'];
    soundSeting = json['soundSeting'];
    joltSeting = json['joltSeting'];
    cardAuthTime = json['cardAuthTime'];
    cardAuthState = json['cardAuthState'];
    authorityAuthTime = json['authorityAuthTime'];
    authorityAuthState = json['authorityAuthState'];
    if (json['photoList'] != null) {
      photoList = [];
      json['photoList'].forEach((v) {
        photoList!.add(new PhotoList.fromJson(v));
      });
    }
    fansCount = json['fansCount'];
    followCount = json['followCount'];
    dynamicCount = json['dynamicCount'];
    userName = json['userName'];
    idCardNumber = json['idCardNumber'];
    aliPay = json['aliPay'];
    weixinPay = json['weixinPay'];
    userSig = json['userSig'];
    onLineState = json['onLineState'];
    lastOnlineTime = json['lastOnlineTime'];
    jewelCount = json['jewelCount'];
    glamour = json['glamour'];
    venue = json['venue'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['userId'] = this.userId;
    data['nickName'] = this.nickName;
    data['sex'] = this.sex;
    data['age'] = this.age;
    data['isBlack'] = this.isBlack;
    data['birthday'] = this.birthday;
    data['headUrl'] = this.headUrl;
    data['duceUrl'] = this.duceUrl;
    data['phone'] = this.phone;
    data['areaCode'] = this.areaCode;
    data['state'] = this.state;
    data['signature'] = this.signature;
    data['tags'] = this.tags;
    data['height'] = this.height;
    data['weight'] = this.weight;
    data['occupation'] = this.occupation;
    data['occupationAuthState'] = this.occupationAuthState;
    data['occupationAuthJson'] = this.occupationAuthJson;
    data['goldCount'] = this.goldCount;
    data['disturbSeting'] = this.disturbSeting;
    data['videoCallSeting'] = this.videoCallSeting;
    data['videoCallPrice'] = this.videoCallPrice;
    data['voiceCallSeting'] = this.voiceCallSeting;
    data['voiceCallPrice'] = this.voiceCallPrice;
    data['soundSeting'] = this.soundSeting;
    data['joltSeting'] = this.joltSeting;
    data['cardAuthTime'] = this.cardAuthTime;
    data['cardAuthState'] = this.cardAuthState;
    data['authorityAuthTime'] = this.authorityAuthTime;
    data['authorityAuthState'] = this.authorityAuthState;
    if (this.photoList != null) {
      data['photoList'] = this.photoList!.map((v) => v.toJson()).toList();
    }
    data['fansCount'] = this.fansCount;
    data['followCount'] = this.followCount;
    data['dynamicCount'] = this.dynamicCount;
    data['userName'] = this.userName;
    data['idCardNumber'] = this.idCardNumber;
    data['aliPay'] = this.aliPay;
    data['weixinPay'] = this.weixinPay;
    data['userSig'] = this.userSig;
    data['onLineState'] = this.onLineState;
    data['lastOnlineTime'] = this.lastOnlineTime;
    data['jewelCount'] = this.jewelCount;
    data['glamour'] = this.glamour;
    data['venue'] = this.venue;
    return data;
  }
}

class PhotoList {
  int? mediaId;
  String? mediaType;
  String? mediaUrl;
  num? width;
  num? height;
  num? mediaTime;

  PhotoList({this.mediaId, this.mediaType, this.mediaUrl, this.width, this.height, this.mediaTime});

  PhotoList.fromJson(Map<String, dynamic> json) {
    mediaId = json['mediaId'];
    mediaType = json['mediaType'];
    mediaUrl = json['mediaUrl'];
    width = json['width'];
    height = json['height'];
    mediaTime = json['mediaTime'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['mediaId'] = this.mediaId;
    data['mediaType'] = this.mediaType;
    data['mediaUrl'] = this.mediaUrl;
    data['width'] = this.width;
    data['height'] = this.height;
    data['mediaTime'] = this.mediaTime;
    return data;
  }
}
